.websitePage {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-top: 100px; /* 增加顶部间距，确保医院卡片完全不被遮挡 */
  padding-bottom: 80px; /* 为底部导航留出空间 */
}

.content {
  padding: 16px;
  padding-top: 16px; /* 增加内容区域的顶部间距 */
}

/* 医院概览卡片 */
.hospitalCard {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 12px; /* 增加顶部间距 */
}

.hospitalImage {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 220"><rect width="400" height="220" fill="%23f0f9ff"/><rect x="50" y="80" width="120" height="80" fill="%23e6f7ff" rx="8"/><rect x="200" y="60" width="100" height="60" fill="%23f0f9ff" rx="6"/><rect x="300" y="100" width="80" height="40" fill="%23e6f7ff" rx="4"/><rect x="80" y="180" width="60" height="30" fill="%23f0f9ff" rx="3"/></svg>');
  background-size: cover;
  background-position: center;
}

.hospitalInfo {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px 12px 0 0;
  z-index: 1; /* 确保信息层在装饰图形之上 */
}

.hospitalHeader {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.hospitalIcon {
  font-size: 32px;
  margin-right: 16px;
  color: #52c41a;
}

.hospitalDetails {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hospitalName {
  font-size: 18px;
  font-weight: 700;
  color: #262626;
}

.hospitalGrade {
  display: inline-block;
  background: #1890ff;
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.hospitalIntro {
  margin-bottom: 12px;
}

.introTitle {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 8px;
}

.introContent {
  font-size: 13px;
  color: #595959;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.moreLink {
  color: #1890ff;
  margin-left: 8px;
  cursor: pointer;
  font-weight: 500;
}

.hospitalAddress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #8c8c8c;
}

.hospitalAddress span:first-child {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.addressIcons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.divider {
  color: #d9d9d9;
  font-weight: 300;
}

.locationIcon,
.phoneIcon {
  font-size: 16px;
  cursor: pointer;
  opacity: 0.8;
  color: #8c8c8c;
}

.locationIcon:hover,
.phoneIcon:hover {
  opacity: 1;
  color: #1890ff;
}

/* 通用section样式 */
.section {
  margin-bottom: 24px;
}

.sectionHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sectionTitle {
  font-size: 16px;
  font-weight: 600;
  color: #262626;
  margin: 0;
}

/* 科室导航 */
.departmentsGrid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.departmentsGrid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.departmentCard {
  background: white;
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
  flex-shrink: 0;
}

.departmentCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.departmentIcon {
  font-size: 24px;
  margin-bottom: 8px;
}

.departmentName {
  font-size: 12px;
  color: #262626;
  font-weight: 500;
  white-space: nowrap;
}

/* 医生展示 */
.doctorsList {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.doctorsList::-webkit-scrollbar {
  display: none;
}

.doctorCard {
  background: white;
  border-radius: 8px;
  padding: 16px;
  min-width: 140px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.doctorCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.doctorAvatar {
  font-size: 32px;
  text-align: center;
  margin-bottom: 12px;
}

.doctorInfo {
  text-align: center;
}

.doctorName {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 6px;
}

.doctorTitle {
  font-size: 11px;
  color: #1890ff;
  background: #e6f7ff;
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 6px;
  display: inline-block;
  font-weight: 500;
}

.doctorDepartment {
  font-size: 12px;
  color: #8c8c8c;
}

/* 医院公告 */
.announcementsList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.announcementCard {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.announcementHeader {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.pinnedTag {
  background: #1890ff;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.announcementTitle {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  line-height: 1.4;
  flex: 1;
}

.announcementContent {
  font-size: 13px;
  color: #595959;
  line-height: 1.5;
  margin-bottom: 12px;
}

.announcementFooter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #8c8c8c;
}

.announcementSource {
  color: #1890ff;
  font-weight: 500;
}

.announcementTime {
  color: #8c8c8c;
}

.announcementViews {
  color: #8c8c8c;
}

/* 底部导航栏 */
.bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.navItem:hover {
  background: #f5f5f5;
}

.navItem.active {
  color: #1890ff;
}

.navItem.active .navIcon {
  color: #1890ff;
}

.navItem.active .navText {
  color: #1890ff;
  font-weight: 600;
}

.navIcon {
  font-size: 20px;
  margin-bottom: 4px;
  color: #8c8c8c;
  transition: color 0.2s ease;
}

.navText {
  font-size: 11px;
  color: #8c8c8c;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .content {
    padding: 12px;
  }
  
  .hospitalImage {
    height: 200px;
  }
  
  .hospitalInfo {
    padding: 16px;
  }
  
  .departmentCard {
    padding: 12px 8px;
    min-width: 70px;
  }
  
  .doctorCard {
    min-width: 120px;
    padding: 12px;
  }
  
  .bottomNav {
    padding: 6px 0;
  }
  
  .navIcon {
    font-size: 18px;
  }
  
  .navText {
    font-size: 10px;
  }
}